package com.shalanzi.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shalanzi.hospital.pojo.User;
import com.shalanzi.hospital.query.UserQuery;

import java.util.List;

/**
 * @author Dream_飞翔
 * @date 2021/9/29
 * @time 22:10
 * @email 1072876976@qq.com
 */
public interface ClassMapper extends BaseMapper<User> {
    /**
     * 分页查询符合条件的用户对象
     *
     * @param userQuery 用户提交的参数
     * @return 符合条件的用户对象
     */
    List<User> selectByParams(UserQuery userQuery);
}
